package construction.proxy.jdk;

public class Test {
    public static void main(String[] args) {

        //动态代理
        ITeacherDao iTeacherDao = (ITeacherDao)new ProxyFactory().getProxyInstance(new TeacherDao());
        iTeacherDao.teach();
    }
}
